package org.example.data;

public class UserWithDetails {
    private User user;
    private UserMessage userMessage;

    public UserWithDetails(User user, UserMessage userMessage) {
        this.user = user;
        this.userMessage = userMessage;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public UserMessage getUserMessage() {
        return userMessage;
    }

    public void setUserMessage(UserMessage userMessage) {
        this.userMessage = userMessage;
    }
}
